package com.itheima.service.mongo;

import com.itheima.domain.mongo.RecommendUser;
import com.itheima.domain.mongo.UserLike;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface RecommendUserService {

    // 查询今日佳人
    RecommendUser findTodayBest(Long toUserId);

    // 查询推荐用户列表
    PageBeanVo findByPage(Long toUserId, Integer pageNum, Integer pageSize);

    // 查询二个的缘分值
    RecommendUser findPersonalInfo(Long toUserId, Long recommendUserId);

    // 查询卡片
    List<RecommendUser> findCards (Long toUserId);
    //不喜欢表
    void RecommendUserUnLike (Long unLikeUserId);
    //喜欢表
    UserLike RecommendUserLike(Long userId, Long likeUserId);
    //判断用户是否相互喜欢
    boolean UserLike(Long userId, Long likeUserId);
    
}